libkovan  1
The kovan standard library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
thread.h File Reference
#include "export.h"

Go to the source code of this file.

Classes

struct  mutex
 
struct  thread
 

Typedefs

typedef void(* thread_function )()
 

Functions

EXPORT_SYM mutex mutex_create (void)
 
EXPORT_SYM void mutex_lock (mutex m)
 
EXPORT_SYM int mutex_trylock (mutex m)
 
EXPORT_SYM void mutex_unlock (mutex m)
 
EXPORT_SYM void mutex_destroy (mutex m)
 
EXPORT_SYM thread thread_create (thread_function func)
 
EXPORT_SYM void thread_start (thread id)
 
EXPORT_SYM void thread_wait (thread id)
 
EXPORT_SYM void thread_destroy (thread id)
 

Typedef Documentation

typedef void(* thread_function)()

Function Documentation

EXPORT_SYM mutex mutex_create ( void  )
EXPORT_SYM void mutex_destroy ( mutex  m)
EXPORT_SYM void mutex_lock ( mutex  m)
EXPORT_SYM int mutex_trylock ( mutex  m)
EXPORT_SYM void mutex_unlock ( mutex  m)
EXPORT_SYM thread thread_create ( thread_function  func)
EXPORT_SYM void thread_destroy ( thread  id)
EXPORT_SYM void thread_start ( thread  id)
EXPORT_SYM void thread_wait ( thread  id)